package controller.environment.ground;

import java.awt.Color;
import java.util.Random;

import reference.constants.ConstantProblem;

import controller.environment.GroundManager;

public class GroundSeeded extends Ground {
	
	public GroundSeeded(GroundManager ground_manager, int pos_x, int pos_y){
		super(ground_manager, pos_x, pos_y);
		m_amountWork = new Random().nextInt(ConstantProblem.QUANTITY_WORK_SEEDED_MAX);
	}

	public void actsParticular() {
		
	}

	public Color getColor() {
		return Color.GREEN;
	}

	public void evolve() {
		Ground newGround = new GroundFlowered(m_groundManager, m_posX, m_posY);
		m_groundManager.setNewGround(newGround, m_posX, m_posY);		
	}
}
